![]() ![]() ![]() ![]() ![]() Alan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector ![]() AlanFromJapan ![]() ![]() ![]() Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
setup avr on linuxLast update: Thu Jun 5 22:25:41 2025
I moved this year to "Linux only" (Mint) and I have not yet had the occasion to setup the necessary tools to do AVR development on the PC. This is the occasion to start and document, so that I can do it the same way on all the PCs at home...
PresentationPrincipleI will go 2-flavor: the Arduino suite (for arduinos !) and the AVR toolchain (for all the other MCUs).Arduino toolchainForewordI'm using LInux Mint 19 (based on Ubuntu 18.04 LTS). DO NOT USE THE PACKAGES THAT COME WITH MINT 19, they are totally outdated. It's a shame but that's how it is.We need to take a detour for doing the install the right way. InstallThat one is easy: go to the arduino website and download the latest .tar.xz file. You can then tar -zxf it or just double click and put the insides somewhere. No need to run the installer unless you want to setup the icons. There, install completed!Nota bene: regarding the where to install, I did in /usr/local/apps (which I created). Where to install software in Linux is an eternal debate, so I picked here, but it doesn't matter it will work anywhere. SetupAVR toolchainForewordI'm using LInux Mint 19 (based on Ubuntu 18.04 LTS). DO NOT USE THE PACKAGES THAT COME WITH MINT 19, they are totally outdated. It's a shame but that's how it is.We need to take a detour for doing the install the right way. InstallI followed this doc with minor editions/customizations. We'll use the AVR Eclipse plugin.sudo apt-get install gcc-avr binutils-avr gdb-avr avr-libc avrdude SetupWell it just works, that's great. As this doc explains:PicturesLinksHelpful sourcesInspiration |
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025]) |